package com.learn.pay.wechat;

import com.wechat.pay.java.service.payments.jsapi.model.PrepayRequest;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author : Yu.Tan
 * @date : 2023/6/19 10:03
 * @desc : **
 */
@RestController
@RequestMapping("/v1/we-chat/pay")
@Api(tags = "音频文件操作")
@Slf4j
public class PayController {

    @PostMapping("/transactions/jsapi")
    @ApiOperation(value = "惊喜交车-订单同步")
    public void surpriseSync(@RequestBody PrepayRequest request) {

    }
}
